package com.itheima.Demo3.domain;

//猫类

public class Cat extends Amimal {

    public void eat(){
        System.out.println(super.getName()+"吃鱼");
    }

    public Cat(String name, int age) {
        super(name, age);
    }

    public Cat() {
    }
}
